<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	$powder_min = 9 ;
	include(ROOTPATH .'include'. DS .'checkPowder.php');
	
	include(ROOTPATH .'class'. DS .'comment.class.php');
	include "header.php";
	$comment = new comment ;
	
	$page = getPage('page');
	
?>
<script type="text/javascript" src="<?php echo JS_PATH;?>admin.comment.js"></script>
<link href="<?php echo THEME_PATH ;?>css/admin.css" type="text/css" rel="stylesheet" media="all" />
</head>
<body>
<?php require('top.php'); ?>
<form action="./?option=admin.indexCommend&type=action" method="post" enctype="multipart/form-data" name="uploadForm" class="form upload" id="uploadForm">
<div class="pos">
	
    <div class="contents">
		<?php require('nav.php'); ?>
        <h2 class="title"><?php echo $navigation -> getList();?><span><a href="./?option=admin.comment">全部留言</a><input name="" type="checkbox" value=""></span></h2>
        <div id="talk" class="talk">
			<?php
				echo $comment -> getAll( getQuery('user_id') );
			?>
        </div><!--#comments-->
	</div><!-- .contents-->
</div>
</form>

<?php require('footer.php'); ?>

</body>
</html>
